REM I like automation and for that it still needs more checks...
REM 1. What if VS100COMNTOOLS environment variable is not set

ECHO %PROCESSOR_ARCHITECTURE% | FINDSTR AMD64>NUL && SET VCVARS-CL-FIX=vcvars64 || SET VCVARS-CL-FIX=vcvars32

@"%VS100COMNTOOLS%..\..\VC\bin\%VCVARS-CL-FIX%" %1 %2 %3 %4 %5 %6
@PATH=%PATH%;%VSINSTALLDIR%\VC\bin;%WindowsSdkDir%;%WindowsSdkDir%bin;
